home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Atari Compendium
/
The Atari Compendium (Toad Computers) (1994).iso
/
files
/
umich
/
utils
/
scrnsvrs
/
stblbin.arc
/
STBLANK.TXT
< prev
next >
Wrap
Text File
|
1989-04-06
|
14KB
|
324 lines
ST Blank - The Monitor Protector : Version 2.0.0
================================================
(c) Copyright 1989, 1990, 1991, 1992, 1993 Mathew Lodge. This program
is NOT public domain, but you are free to copy it as long as this
text file accompanies the executable program and resource file. This
program may not be sold.
Abstract
========
ST Blank is a utility to blank your monitor screen after a user
definable period of inactivity.
Installation
============
ST Blank comes in two parts: An AUTO folder program, STBLPRG.PRG, a
control program, STBLACC.ACC, and the resource for the control
program STBLANK.RSC.
STBLPRG.PRG should be placed in the AUTO folder of your boot disk.
The control program can be used as a desk accessory by placing
STBLACC.ACC and STBLANK.RSC in the root directory of your boot disk.
Your ST must be then rebooted before ST Blank will be installed.
The control program can also be run as a stand alone program, simply
by renaming it from STBLACC.ACC to STBLACC.PRG. Make sure that
STBLANK.RSC is in the same directory as the program, and then
double-click STBLACC.PRG.
Use
===
Selecting the ST Blank item from the desk menu (or double clicking
STBLACC.PRG) allows you to set the various parameters of ST Blank.
This includes the delay before blanking in minutes and seconds.
Blanking occurs when the ST has been inactive for this user definable
amount of time. The program defines activity as mouse movement and
clicks, key depression and release, and BIOS character output to any
device other than the intelligent keyboard controller, IKBD.
From the dialogue you can also make the screen blank immediately, and
turn blanking off. Underneath the "Star Display Options" you can set
whether you want a star-trek type display when the screen is blanked
(more information on this below). The speed of the star display is
also configurable - the higher the speed number, the slower the star
display. The "Test" button blanks the screen straight away (without
removing the dialogue) to allow easy testing of different star
speeds.
While the screen is blanked, you get a display of stars similar to
that used in innumerable space games, as if travelling through space.
(This idea is shamelessly blagged from the Macintosh screen saver
"Stars!" at the request of Steve Cassidy). The speed of the star
display is configurable (see above). Any activity (definition of
"activity" given above) will restore the screen and continue.
Clicking upon the "ST Blank" title text displays a dialogue
containing various information and a thumbnail sketch of the author!
This accessory works in ALL screen resoltions currently supported by
the standard ST(E) architecture (i.e. 320x200, 640x200 and 640x400 -
NOT "Autoswitch Overscan" modes, Mega Screens or the new screen modes
of the TT and Falcon).
ST Blank works on the TT (though regrettably only in ST screen modes
-- see "In the pipeline" below) and copes with all 680x0 processors.
ST Blank has been extensively tested with various beta releases of
MultiTOS and found to work perfectly. It has not been tested on the
Falcon, because I can't find anyone who actually has one!
When the AUTO folder program starts up, it attempts to read the file
STBLANK.INF from the boot device (usually A: for those booting from
floppy, or C: for hard drive owners). This file contains all the
configuration information. If this file does not exist, an error
message will be printed, but sensible defaults will be installed.
Using the controlling accessory, you can save your own configuration
by clicking on the "Save" button, and it will be used next time you
restart your ST. You can also re-load your configuration at any time
with the "Load" button.
If any errors occur during initialisation (e.g. can't find memory
resident part of ST Blank or no resource file), then you won't get
the ST Blank title on the Desk menu, but the accessory won't crash
your machine. It will, however, take up memory space. An error
message or alert will explain what went wrong.
ST Blank was written in 68000 assembly language to make it as compact
as possible. I feel that all memory resident programs should be as
small as possible - I had a 520ST for a few years, and was appalled
at the huge size of one poor screen saver. ST Blank has grown as
features have been added, but I hope that it is still small and
useful enough to take a regular place in your AUTO folder / accessory
menu.
Known Problems
==============
POOLFIX3 and POOLFIX4 : Both these programs (that fix a bug in the
GEMDOS memory manager of TOS 1.4) like to run first in your AUTO
folder. Don't try to put STBLPRG.PRG (or any other program) before
them -- you'll get a system crash.
TEMPUS and TEMPUS2 : When normal operation is resumed after screen
blanking, Tempus' on-screen clock will increment wildly and finally
settle at the wrong time. This is a bug in Tempus, not ST Blank. In
Tempus 2, you can avoid this by using Tempus' own screen blanking
feature instead of ST-Blank. You'll have to forgo the star display
though, and rely on Tempus' screen blanking method of disabling video
synchronisation. The Tempus method will damage some monitors in the
long run, as they hunt for a display signal to lock onto (this is
characterised by monitor "scream"). Atari USA have stated that the
Atari range of monitors can be damaged in this way.
MEGAROIDS and SMALLTALK-80 : Megamax Megaroids and Smalltalk-80
install their own IKBD packet handlers and so ST Blank will cut in
when the timer expires (it never gets to see any mouse movements or
keypresses). At this point, the only option is to reset, because ST
Blank cannot detect any activity to cancel the star display. Remember
to disable ST Blank before using either of these programs.
NEOCHROME MASTER : This program hacks wildly into the innards of your
machine, and does rather strange things with the keyboard and mouse
packet handlers. Besides this, NeoChrome Master is an illegal
derivative work of copyright Atari code -- don't use it.
In the pipeline
===============
A list, in no particular order, of the enhancements planned (when
(if?) I have time):
1) A CPX version of the controlling accessory.
2) A version that supports arbitrary video modes (TT, big screens,
Falcon modes, etc.)
3) A smoother star display.
4) A MiNT aware version of the .PRG that communicates via a pipe,
rather than shared memory.
5) Slot-in modules to replace the standard star display
Technical Info.
===============
The program tries to avoid blanking the screen in the middle of disk
access, but since there's no foolproof way of checking (even looking
at flock at $43E doesn't work all of the time), this can happen. On
the ST, all disk I/O is done via Direct Memory Access, which means
that ST Blank cannot interefere with data being transferred. During
testing and in the three years since the first release there have
been no reported corruption problems, but obviously this cannot be
guaranteed. If anyone knows a foolproof method of testing for ongoing
floppy/hard disc access, then please let me know.
Any character output via the BIOS Bconout routine is counted as
"activity". This was added to prevent ST Blank cutting in during
printing and file transfer. However, if the file transfer is all one
way (i.e. into the ST) then ST Blank will still cut in. I believe
that this is not the case with most popular file transfer protocols
(Kermit, X-,Y-, Z-Modem etc.) Note that if a program has its own
device drivers that do not call the BIOS (e.g. serial port driver of
First Word (Plus), "Printer (direct)" driver of That's Write and
Write On), then ST Blank won't know about the output.
This program installs four of its own exception handlers:
1) The IKBD interrupt vector (see XBIOS 34 (Kdbvbase), IKBDSYS
vector).
2) MFP level 5 interrupt, Time